//package com.dhkj.web.idf.model;
//
//import io.realm.RealmObject;
//import io.realm.RealmResults;
//import io.realm.annotations.LinkingObjects;
//import io.realm.annotations.PrimaryKey;
//
//public class ConsumptionTypeRealmObject extends RealmObject {
//
//    @PrimaryKey
//    private int consumptionTypePK;
//    private String consumptionTypeName;
//    private String beginTime;
//    private String endTime;
//
//    @LinkingObjects("consumptionTypes")
//    private final RealmResults<DeviceRealmObject> deviceRealmObjects = null;
//
//    public static final String CONSUMPTIONTYPEPK = "consumptionTypePK";
//    public static final String CONSUMPTIONTYPENAME = "consumptionTypeName";
//    public static final String BEGINTIME = "beginTime";
//    public static final String ENDTIME = "endTime";
//
//    public ConsumptionTypeRealmObject() {
//    }
//
//    public int getConsumptionTypePK() {
//        return consumptionTypePK;
//    }
//
//    public void setConsumptionTypePK(int consumptionTypePK) {
//        this.consumptionTypePK = consumptionTypePK;
//    }
//
//    public String getConsumptionTypeName() {
//        return consumptionTypeName;
//    }
//
//    public void setConsumptionTypeName(String consumptionTypeName) {
//        this.consumptionTypeName = consumptionTypeName;
//    }
//
//    public String getBeginTime() {
//        return beginTime;
//    }
//
//    public void setBeginTime(String beginTime) {
//        this.beginTime = beginTime;
//    }
//
//    public String getEndTime() {
//        return endTime;
//    }
//
//    public void setEndTime(String endTime) {
//        this.endTime = endTime;
//    }
//
//    public RealmResults<DeviceRealmObject> getDeviceRealmObjects() {
//        return deviceRealmObjects;
//    }
//
//    public ConsumptionTypeRealmObject(ConsumptionType consumptionType) {
//        this.consumptionTypePK = consumptionType.getConsumptionTypePK();
//        this.consumptionTypeName = consumptionType.getConsumptionTypeName();
//        this.beginTime = consumptionType.getBeginTime();
//        this.endTime = consumptionType.getEndTime();
//    }
//}
